package cc.mrbird.febs.moive.dao;

import cc.mrbird.febs.moive.domain.MaxDataOne;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface MaxDataOneMapper extends BaseMapper<MaxDataOne> {
    @Select("select * from max_data_one order by box_office desc limit 20")
    List<MaxDataOne> getData();


    @Select("select movie_title from max_data_one order by box_office desc ")
    List<MaxDataOne> getAll();
}
